package jp.co.htkk.service;

import jp.co.htkk.dto.${TableName!}Dto;
import jp.co.htkk.form.${TableName!}RegisterForm;


public interface ${TableName!}Service {
    /**
     * Used for register new ${tableName!}
     *
     * @param ${tableName!}RegisterForm
     * @return jp.co.htkk.dto.${TableName!}Dto
     * @throws
     **/
    ${TableName!}Dto register(${TableName!}RegisterForm ${tableName!}RegisterForm);
    /**
     * Get ${tableName!} by ID
     * @param id
     * @return jp.co.htkk.dto.${TableName!}Dto
     * @throws
     **/
    ${TableName!}Dto get${TableName!}ById(String id);
    /**
     * delete ${tableName!} by id
     * @param id
     * @return jp.co.htkk.dto.${TableName!}Dto
     * @throws
     **/
    ${TableName!}Dto delete${TableName!}ById(String id);
    /**
     * update ${tableName!}
     * @param ${tableName!}Dto
     * @return jp.co.htkk.dto.${TableName!}Dto
     * @throws
     **/
    ${TableName!}Dto update${TableName!}(${TableName!}Dto ${tableName!}Dto);
}
